//
//  IGGetUploadWorksApi.m
//  jingdongfang
//
//  Created by MTiMac02 on 2017/11/14.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGGetUploadWorksApi.h"

@implementation IGGetUploadWorksApi
-(id)initWithAid:(NSString *)aId secrecy:(NSString *)secrecy PageNumber:(NSString *)pageNumber pageSize:(NSString *)pageSize queryTime:(NSString *)queryTime{
    self=[super init];
    if (self) {
        _aId=aId;
        _secrecy=secrecy;
        _pageNumber=pageNumber;
        _pageSize=pageSize;
        _queryTime=queryTime;
    }
    return self;

    
}
-(NSString *)requestUrl{
    return @"works/atlas!getUploadWorks.action";
}

-(id)requestArgument{
    return @{
             @"uId":[IGUser getUid]?:@"",
             @"secrecy":_secrecy,
             @"aId":_aId,
             @"pageNumber": _pageNumber,
             @"pageSize": @"10",
             @"queryTime":_queryTime
             };
}

@end
@implementation IGGetUploadWorksModel
+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}

@end
@implementation IGGetUploadWorksResp

@end
